package com.luanmad.ajax.dtree.dao;

import java.sql.SQLException;
import java.util.List;

import com.luanmad.ajax.dtree.model.TreeNodes;

/**
 * 
 *
 * @author  luanmad!
 * @version V1.0  2009-8-16 09:49:44
 * www.zoomhoo.com
 */
public interface TreeNodesDAO
{
     int addNode(TreeNodes treeNodes)throws SQLException;
     void updateNode(TreeNodes treeNodes)throws SQLException;
     void deleteNode(int id)throws SQLException;
     List queryNodes(String sql)throws SQLException;
     String sortNode(TreeNodes treeNodes,String move)throws SQLException;
     void updateByselectiveKey(int id,int sort)throws SQLException;
}
 